<?php
require_once 'models/orm.inc';
require_once 'models/cms.inc';
require_once 'common/enum.inc';


class TCMSPageAssociationClassModel extends TCandyModel {
	protected $_conf_default_type_;
	
	protected function afterConstruct(){
		$this->_conf_classname_ = 'TMSPageAssociationClass';
	}
			
	protected function postProcessProperties(){
		parent::postProcessProperties();
		$this->propertyMetas['Type']->SetSelection(array(
			TMSPageAssociationType::MONODIRECTIONAL => 'Monodirectional',
			TMSPageAssociationType::BIDIRECTIONAL => 'Bidirectional',
			TMSPageAssociationType::AGREGATED => 'Agregation'	
		));
	}	
} 
